//
//  HZSQLManager.h
//  car4S
//
//  Created by huazi on 14-3-19.
//  Copyright (c) 2014年 huifu. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HZSQLManager : NSObject
+ (HZSQLManager *)shareSQLManager;
- (void)execSql:(NSString *)sql;

-(NSMutableArray *)queryNewsFromNewsTable:(NSString *)querysql;
-(NSMutableArray *)queryNewsFromSessionTable:(NSString *)querysql;
-(NSMutableArray *)queryNewsFromSystemSessionTable:(NSString *)querysql;
-(NSMutableArray *)querySessionTableIsExistNews:(NSString *)querysql;
-(NSMutableArray *)queryProdcutHistoryRecode:(NSString *)querysql;
-(NSMutableArray *)queryKeywordTable:(NSString *)querysql;
-(NSMutableArray *)queryShopCarTable:(NSString *)querysql;

-(NSMutableArray *)queryDinosaurFargatherList:(NSString *)querysql;
-(NSMutableArray *)queryDinosaurAccountListFromParty_id:(NSString *)querysql;
-(NSString *)queryAccountName:(NSString *)querysql;
-(NSString *)queryParty_Action_User_GatheringGathering:(NSString *)querysql;
-(NSMutableArray *)queryConsumeListFormFarogtherId:(NSString *)querysql;
-(NSMutableArray *)queryParty_Action_UserListFormFarogtherIdAndActionId:(NSString *)querysql;
-(NSMutableArray *)queryReceiveMoneySessionListFromParty_id:(NSString *)querysql;
-(NSString *)queryUserForFargatherTotalPrice:(NSString *)querysql;
-(NSMutableArray *)queryParty_Action_User_ConsumeListFromFarogtherIdAndAccountId:(NSString *)querysql;
-(NSString *)queryConsumeNameFromConsumeId:(NSString *)querysql;
-(NSInteger)queryNoReadNews:(NSString *)querysql;
-(NSMutableArray *)querySearchHistoryTable:(NSString *)querysql;
@end
